package cn.school.service;

import cn.school.dao.GradeDao;
import cn.school.dao.SubjectDao;
import cn.school.entity.Grade;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
//import util.LogUtil;
//import util.MybatisUtil;

import java.util.List;

@Service
public class GradeService {
    @Autowired
    private GradeDao mapper;

    public List<Grade> findALL(){

            return mapper.findALL();

    }
}
